package com.example.dell.jakatra.activity;

import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.example.dell.jakatra.NetManager;
import com.example.dell.jakatra.R;

public class Demo1Activity extends AbsBaseActivity {


    @Override
    public int getLayoutId() {
        return R.layout.activity_demo1;
    }

    @Override
    public void initViews(Bundle savedInstanceState) {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                NetManager.getInstance().setNet(true);
            }
        }, 4000);
    }
}
